package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.EaiSysBusinessCategoryProxy;

import java.time.LocalDateTime;

/**
 * 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "EaiSysBusinessCategory", description = "$table.comment")
@Table(value = "EAI_SYS_BUSINESS_CATEGORY")
@EntityFileProxy
public class EaiSysBusinessCategory implements ProxyEntityAvailable<EaiSysBusinessCategory, EaiSysBusinessCategoryProxy> {

    @Column(primaryKey = true, value = "CATEGORY_ID")
    private String categoryId;

    @Column(value = "CATEGORY_NAME")
    private String categoryName;

    @Column(value = "PARENT_CATEGORY_ID")
    private String parentCategoryId;

    /**
     * 创建日期
     */
    @Schema(description = "创建日期", example = "yyyy-MM-dd HH:mm:ss")
    @Column(value = "CREATE_DATE")
    private LocalDateTime createDate;

    @Column(value = "CREATE_USER_ID")
    private String createUserId;

    /**
     * 最后更新的日期
     */
    @Schema(description = "最后更新的日期", example = "yyyy-MM-dd HH:mm:ss")
    @Column(value = "UPDATE_DATE")
    private LocalDateTime updateDate;

    @Column(value = "UPDATE_USER_ID")
    private String updateUserId;
}
